package com.ruoyi.common.sms.service;

import com.ruoyi.common.business.entity.YytMember;
import com.ruoyi.common.pms.entity.YytPmsSkuInfo;
import com.ruoyi.common.sms.entity.YytSmsCoupon;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* <p>
    * 优惠券信息 服务类
    * </p>
*
* @author MrPing
* @since 2022-05-31
*/
public interface YytSmsCouponService extends IService<YytSmsCoupon> {

    List<YytSmsCoupon> getShopSysCoupon(String shopId);

    List<YytSmsCoupon> getMyCouponList(String memberId, Integer useType);

    List<YytPmsSkuInfo> getSkuListByCouponId(String couponId);

    boolean addCoupon(YytMember yytMember);
}
